<%-- $RCSFile: ContactsEdit.aspx $
 Apache license v2 2011 by Christian Surieux
 $Source: ?/AddonNice/PageModules/Contacts/ContactsEdit.aspx $
 $log$
 Revision 6 2010/08/09 10:51:18  christian.surieux
   Added Log comment to all .aspx .ascx .master files
 --%>
<%@ Page Language="c#" CodeBehind="ContactsEdit.aspx.cs" AutoEventWireup="False" Inherits="AddonNice.PageModules.Contacts.ContactsEdit" MasterPageFile="~/MasterPages/ADNProperties.Master" %>
<%@ Register Assembly="Telerik.Web.UI"    Namespace="Telerik.Web.UI" TagPrefix="Telerik" %>
<asp:Content  ID='Content0' runat='server' ContentPlaceHolderID='ContentTitle'>
<asp:Literal Text="<%$ Resources:ADNCRM,CONTACTS_DETAILS %>" id="Literal9" runat="server" />
</asp:Content>
<asp:Content ID="Content1" runat="server" ContentPlaceHolderID="ContentPlaceHolderButtons2">
    <asp:PlaceHolder ID="PlaceHolderButtons2" runat="server"></asp:PlaceHolder>
</asp:Content>
<asp:Content ID="Content2" runat="server" ContentPlaceHolderID="ContentSettingsTable">
    <Telerik:radformdecorator id="FormDecorator1" runat="server" decoratedcontrols="Default" />
    <asp:ScriptManagerProxy ID="SCMPContactsEdit" runat='server' />
		<table width="100%" cellspacing="0" cellpadding="0" border="0">
			<tr>
				<td >
					<asp:Literal Text="<%$ Resources:ADNCRM,CONTACTS_NAME %>" id="Literal2" runat="server" />
				</td>
				<td>
					<asp:TextBox id="NameField" width="390px" Columns="30" maxlength="50" runat="server" />
				</td>
				<td style="width:250">
					<asp:RequiredFieldValidator ErrorMessage="<%$ Resources:ADNCRM,ERROR_VALID_NAME %>" Display="none"
						runat="server" ControlToValidate="NameField" id="RequiredName" />
				</td>
			</tr>
			<tr>
				<td >
					<asp:Literal Text="<%$ Resources:ADNCRM,CONTACTS_ROLE %>" id="Literal3" runat="server" />
				</td>
				<td>
					<asp:TextBox id="RoleField" width="390px" Columns="30" maxlength="100" runat="server" />
				</td>
			</tr>
			<tr>
				<td >
					<asp:Literal Text="<%$ Resources:ADNCRM,CONTACTS_EMAIL %>" id="Literal4" runat="server" />:
				</td>
				<td>
					<asp:TextBox id="EmailField" width="390px" Columns="30" maxlength="100" runat="server" />
				</td>
				<td style="width:250">
					<asp:RegularExpressionValidator id="ValidEmail" runat="server" ErrorMessage="<%$ Resources:ADNCRM,VALID_EMAIL %>" ControlToValidate="EmailField"
						Display="None" ValidationExpression="[\w\.-]+(\+[\w-]*)?@([\w-]+\.)+[\w-]+" />
				</td>
			</tr>
			<tr>
				<td >
					<asp:Literal Text="<%$ Resources:ADNCRM,CONTACTS_CONTACT1 %>" id="Literal5" runat="server" />:
				</td>
				<td>
					<asp:TextBox id="Contact1Field" width="390px" Columns="30" maxlength="250" runat="server" />
				</td>
			</tr>
			<tr>
				<td >
					<asp:Literal Text="<%$ Resources:ADNCRM,CONTACTS_CONTACT2 %>" id="Literal6" runat="server" />:
				</td>
				<td>
					<asp:TextBox id="Contact2Field" width="390px" Columns="30" maxlength="250" runat="server" />
				</td>
			</tr>
			<tr>
				<td >
					<asp:Literal Text="<%$ Resources:ADNCRM,CONTACTS_FAX %>" id="Literal7" runat="server" />:
				</td>
				<td>
					<asp:TextBox id="FaxField" width="390px" Columns="30" maxlength="250" runat="server" />
				</td>
			</tr>
			<tr>
				<td >
					<asp:Literal Text="<%$ Resources:ADNCRM,CONTACTS_ADDRESS %>" id="Literal8" runat="server" />:
				</td>
				<td>
					<asp:TextBox id="AddressField" width="390px" Columns="30" maxlength="250" runat="server" />
				</td>
			</tr>
		</table>
		<hr />
		<span>
		<asp:Literal id="CreatedLabel" runat="server" Text="<%$ Resources:ADNCRM,CREATED_BY %>" />&nbsp; 
		<asp:label id="CreatedBy" runat="server" />&nbsp; 
		<asp:Literal id="OnLabel" runat="server" Text="<%$ Resources:ADNCRM,ON %>" />&nbsp; 
		<asp:label id="CreatedDate" runat="server"/>
		</span>
</asp:Content>
<asp:Content ID="Content3" runat="server" ContentPlaceHolderID="ContentPlaceHolderButtons1">
		<asp:placeholder id="PlaceHolderButtons" runat="server"></asp:placeholder>
</asp:Content>
